package foodmaterial.entity;

import foodmaterial.action.valid.ObjectNullValid;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

public class CustomerInfo implements Serializable {
    private static final long serialVersionUID = 1579294836812376675L;

    private Long id;
    //@NotEmpty(message = "客户编码不能为空")
    private String code;// '编码',
    @NotEmpty(message = "客户名称不能为空")
    private String name;// '名称',
    private String  address ;//'地址',
    private String liaisonMan;//'客户联系人',
    private String liaisonTel;//'客户联系电话',
    private Long areaId ;// '区域id',
    private String areaName ;
    @ObjectNullValid(message = "配送线路不能为空")
    private Long routerId; // '配送线路id',
    private String routerName ;
    private String areaMasterTel;// '公司内部联系人（区域主管）电话',
    private String areaMasterName;// '公司内部联系人（区域主管id）',
    @ObjectNullValid(message = "配送方式不能为空")
    private Long supplyTypeId ;// '配送方式id',
    private String supplyTypeName ;
    private Integer aheadTime ;
    private  String driver ;//'配送司机',
    private String businessPeople; // '商务人员'
    private Long supplyTeamId ;
    private String supplyTeamName ;
    private String customerType ;
    private String password ;
    private Boolean stop ;
    private Long mealsTypeId ;//维护vip价格模板的时候使用
    private Integer showOrder ;//按照线路排序
    private Boolean distributionSorting ;
    private Integer mealPersons ;//菜谱代下单时，选择客户需要默认就餐人数
    private Double mealStandard ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLiaisonMan() {
        return liaisonMan;
    }

    public void setLiaisonMan(String liaisonMan) {
        this.liaisonMan = liaisonMan;
    }

    public String getLiaisonTel() {
        return liaisonTel;
    }

    public void setLiaisonTel(String liaisonTel) {
        this.liaisonTel = liaisonTel;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Long getRouterId() {
        return routerId;
    }

    public void setRouterId(Long routerId) {
        this.routerId = routerId;
    }

    public String getRouterName() {
        return routerName;
    }

    public void setRouterName(String routerName) {
        this.routerName = routerName;
    }

    public String getAreaMasterTel() {
        return areaMasterTel;
    }

    public void setAreaMasterTel(String areaMasterTel) {
        this.areaMasterTel = areaMasterTel;
    }

    public String getAreaMasterName() {
        return areaMasterName;
    }

    public void setAreaMasterName(String areaMasterName) {
        this.areaMasterName = areaMasterName;
    }

    public Long getSupplyTypeId() {
        return supplyTypeId;
    }

    public void setSupplyTypeId(Long supplyTypeId) {
        this.supplyTypeId = supplyTypeId;
    }

    public String getSupplyTypeName() {
        return supplyTypeName;
    }

    public void setSupplyTypeName(String supplyTypeName) {
        this.supplyTypeName = supplyTypeName;
    }

    public Integer getAheadTime() {
        return aheadTime;
    }

    public void setAheadTime(Integer aheadTime) {
        this.aheadTime = aheadTime;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getBusinessPeople() {
        return businessPeople;
    }

    public void setBusinessPeople(String businessPeople) {
        this.businessPeople = businessPeople;
    }

    public Long getSupplyTeamId() {
        return supplyTeamId;
    }

    public void setSupplyTeamId(Long supplyTeamId) {
        this.supplyTeamId = supplyTeamId;
    }

    public String getSupplyTeamName() {
        return supplyTeamName;
    }

    public void setSupplyTeamName(String supplyTeamName) {
        this.supplyTeamName = supplyTeamName;
    }

    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getStop() {
        return stop;
    }

    public void setStop(Boolean stop) {
        this.stop = stop;
    }

    public Long getMealsTypeId() {
        return mealsTypeId;
    }

    public void setMealsTypeId(Long mealsTypeId) {
        this.mealsTypeId = mealsTypeId;
    }

    public Integer getShowOrder() {
        return showOrder;
    }

    public void setShowOrder(Integer showOrder) {
        this.showOrder = showOrder;
    }

    public Boolean getDistributionSorting() {
        return distributionSorting;
    }

    public void setDistributionSorting(Boolean distributionSorting) {
        this.distributionSorting = distributionSorting;
    }

    public Integer getMealPersons() {
        return mealPersons;
    }

    public void setMealPersons(Integer mealPersons) {
        this.mealPersons = mealPersons;
    }

    public Double getMealStandard() {
        return mealStandard;
    }

    public void setMealStandard(Double mealStandard) {
        this.mealStandard = mealStandard;
    }

}
